package com.ruoyi.backend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统轮播图对象 t_carousel
 * 
 * @author wjr
 * @date 2025-09-25
 */
public class Carousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    private Integer id;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String carousel;

    /** 轮播图排序 */
    @Excel(name = "轮播图排序")
    private Integer carouselSort;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setCarousel(String carousel) 
    {
        this.carousel = carousel;
    }

    public String getCarousel() 
    {
        return carousel;
    }

    public void setCarouselSort(Integer carouselSort) 
    {
        this.carouselSort = carouselSort;
    }

    public Integer getCarouselSort() 
    {
        return carouselSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carousel", getCarousel())
            .append("carouselSort", getCarouselSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
